#pragma once
#include "..\LinkedList\LinkedList.h"
/** \brief This class handles intrests for a person
*
*/
template<class T>
class InterestTable :
	public LinkedList<T>
{
public:

	InterestTable() : LinkedList<T>()
	{
	}

	InterestTable(const InterestTable &list) //: LinkedList<T>(list)
	{
		Node<T> *n = list.head;
		while (n != nullptr)
		{
			this->add_at_head(n->data);
			n = n->next;
		}
	}

	~InterestTable()
	{

	}

	
};

